/*
 * Copyright：fxsen <br/>
 * Date: 2021/12/21 9:51 <br/>
 * Author: <a href="mailto:fxsen@foxmail.com">fxsen</a>
 */
package com.fxsen.commons.sysmanager.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fxsen.commons.core.base.common.entity.BaseEntity;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @describe: <br/>
 * @date: 2021/12/21 9:51 <br/>
 * @author: <a href="mailto:fxsen@foxmail.com">fxsen</a>
 */
@ApiModel("单点登录配置")
@TableName("sys_sso_config")
@TableComment(value = "单点登录配置表")
public class SsoConfig extends BaseEntity {
    @ApiModelProperty("客户端名称")
    @TableField(value = "name")
    @Column(name = "name", type = MySqlTypeConstant.VARCHAR, comment = "客户端名称",length = 100)
    private String name;
    @ApiModelProperty("客户端标识")
    @Column(name = "client_id", type = MySqlTypeConstant.VARCHAR, comment = "客户端标识",length = 100)
    @TableField(value = "client_id")
    private String clientId;
    @ApiModelProperty("客户端密钥")
    @Column(name = "client_secret", type = MySqlTypeConstant.VARCHAR, comment = "客户端密钥",length = 100)
    @TableField(value = "client_secret")
    private String clientSecret;
    @ApiModelProperty("回调地址")
    @Column(name = "callback_address", type = MySqlTypeConstant.VARCHAR, comment = "回调地址",length = 255)
    @TableField(value = "callback_address")
    private String callbackAddress;
    @ApiModelProperty("退出登录地址")
    @Column(name = "logout_address", type = MySqlTypeConstant.VARCHAR, comment = "退出登录地址",length = 255)
    @TableField(value = "logout_address")
    private String logoutAddress;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getCallbackAddress() {
        return callbackAddress;
    }

    public void setCallbackAddress(String callbackAddress) {
        this.callbackAddress = callbackAddress;
    }

    public String getLogoutAddress() {
        return logoutAddress;
    }

    public void setLogoutAddress(String logoutAddress) {
        this.logoutAddress = logoutAddress;
    }
}
